package com.site.wisdom_construction.dao.personnelModule;

import com.site.wisdom_construction.entity.personnelModule.EducationUndertaking;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/4/18
 * @Description
 */
public interface EducationUndertakingDao {
    /** 新增入岗教育安全生产承诺书 */
    int insertEducationUndertaking(Map map);

    /** 删除入岗教育安全生产承诺书 */
    int deleteEducationUndertaking(Map map);

    /** 修改入岗教育安全生产承诺书 */
    int updateEducationUndertaking(Map map);

    /** 分页模糊查询入岗教育安全生产承诺书 */
    List<EducationUndertaking> findEducationUndertakingByPage(Map map);

    /** 统计总数 */
    long Total(Map map);

    /** 根据工种id查询对应入岗教育安全生产承诺书 */
    EducationUndertaking findEducationUndertakingByEducationProfessionId(Map map);
}
